package com.jz.community.moduleauthorization.login.bean;

/**
 * Created by Tony.Fan on 2018/3/21 13:24
 */
public enum LoginType {

    DEFUALT("默认", "default"), SMS("验证码", "sms"), WECHAT("微信", "app_wechat");

    private String name;
    private String tag;

    LoginType(String showName, String showTag) {
        this.name = showName;
        this.tag = showTag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @Override
    public String toString() {
        return "LoginType{" +
                "name='" + name + '\'' +
                ", tag='" + tag + '\'' +
                '}';
    }
}
